package com.neusoft.EYSystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.neusoft.EYSystem.po.Client;
import com.neusoft.EYSystem.po.PageResponseBean;
import com.neusoft.EYSystem.po.ResponseBean;
import com.neusoft.EYSystem.po.User;

import java.util.List;

public interface UserService {

    ResponseBean<User> getUser(User user);
    ResponseBean<List<User>> getUserByRole();

    PageResponseBean<List<User>> pageCareTakers(String username, String phone,Long page, Long size);


    PageResponseBean<List<User>> pageCareTakersByName(Long cur, Long number, User user);
}
